<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script>
   const msg={
     'code':200,
     'msg':'获取新闻列表成功',
     'data':[{
      'id':1,
      'title':'SG商用自己，三大运营商收入下降',
      'count':58
     },{
      'id':2,
      'title':'国际媒体头条速览',
      'count':'56'
     },{
      'id':3,
      'title':'乌克兰和俄罗斯持续冲突',
      'count':1669
     }]
    }
   function render({data:myData}){
   console.log(myData)
   }
   render(msg)//const {data}=msg
  </script>
</body>
</html>